<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<link href="${pageContext.request.contextPath}/main.css" rel="stylesheet" type="text/css"/>
<title>上传文件</title>
</head>
<body>
<div class="demo">
	<div class="bheader">
		<h2>--图片上传--</h2>
	</div>
	<div class="bbody">
		<form id="upload_form" enctype="multipart/form-data" method="post" 
			action="${pageContext.request.contextPath}/thumbnail">
			<h2>请选择上传图片</h2>
			<div>
				<input type="file" name="image" id="image"/>
				<input type="submit" value="上传"/>
			</div>
		</form>
	</div>
</div>
</body>
</html>